.class Lcom/melesta/payment/amazon/PurchasingObserver$1;
.super Ljava/lang/Object;
.source "PurchasingObserver.java"

# interfaces
.implements Lcom/melesta/engine/DatabaseHelper$IObjectFilter;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/melesta/payment/amazon/PurchasingObserver;->onPurchaseResponse(Lcom/amazon/inapp/purchasing/PurchaseResponse;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/melesta/payment/amazon/PurchasingObserver;

.field final synthetic val$requestId:Ljava/lang/String;


# direct methods
.method constructor <init>(Lcom/melesta/payment/amazon/PurchasingObserver;Ljava/lang/String;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 146
    iput-object p1, p0, Lcom/melesta/payment/amazon/PurchasingObserver$1;->this$0:Lcom/melesta/payment/amazon/PurchasingObserver;

    iput-object p2, p0, Lcom/melesta/payment/amazon/PurchasingObserver$1;->val$requestId:Ljava/lang/String;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public filter(Ljava/lang/Object;)Z
    .locals 3
    .parameter "o"

    .prologue
    .line 150
    move-object v0, p1

    check-cast v0, Lcom/melesta/payment/PaymentTransaction;

    .line 151
    .local v0, t:Lcom/melesta/payment/PaymentTransaction;
    iget-object v1, p0, Lcom/melesta/payment/amazon/PurchasingObserver$1;->this$0:Lcom/melesta/payment/amazon/PurchasingObserver;

    #getter for: Lcom/melesta/payment/amazon/PurchasingObserver;->mPaymentSystem:Lcom/melesta/payment/amazon/PaymentSystem;
    invoke-static {v1}, Lcom/melesta/payment/amazon/PurchasingObserver;->access$000(Lcom/melesta/payment/amazon/PurchasingObserver;)Lcom/melesta/payment/amazon/PaymentSystem;

    move-result-object v1

    invoke-virtual {v1}, Lcom/melesta/payment/amazon/PaymentSystem;->getName()Ljava/lang/String;

    move-result-object v1

    iget-object v2, v0, Lcom/melesta/payment/PaymentTransaction;->paymentSystem:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_0

    .line 152
    const/4 v1, 0x0

    .line 154
    :goto_0
    return v1

    :cond_0
    iget-object v1, v0, Lcom/melesta/payment/PaymentTransaction;->customData:Ljava/lang/String;

    iget-object v2, p0, Lcom/melesta/payment/amazon/PurchasingObserver$1;->val$requestId:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    goto :goto_0
.end method
